package cn.iocoder.yudao.module.agent.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 代理人 Excel VO
 *
 * @author 曹建伟
 */
@Data
public class AgentUserExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("会员编号")
    private Long userId;

    @ExcelProperty("分用比例 百分比")
    private Integer brokerageRate;

    @ExcelProperty(value = "是否可用", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Boolean enabled;

    @ExcelProperty("可用佣金")
    private Integer brokerage;

    @ExcelProperty("冻结中佣金")
    private Integer frozenBrokerage;

    @ExcelProperty("已提现佣金")
    private Integer withdrawBrokerage;

    @ExcelProperty("提现账户")
    private Long withdrawId;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
